import axios from '@/utils/axios';
export default {
  info(data) {
    return axios.post('user/info', data);
  },
  getUserList(params) {
    return axios.get(`/user/list`, {
      params,
    });
  },
  addUser(params) {
    return axios.post(`/user/add`, params);
  },
  setInvalidUser(params) {
    return axios.put(`/user/invalid/` + params);
  },
  deleteUser(params) {
    return axios.delete(`/user/delete`, {
      params,
    });
  },
};
